
<?

//Tilfældig rettelse: "Nor <3 Peter (igen)";

//print_r($element_data);
	if(!isset($overskrift_type)) { $overskrift_type = "h2";  }
	//if($skjul_drop == TRUE) { $skjul_drop = "style='display:none;'"; } else { $skjul_drop = ""; }

$kapital = mb_substr(strtolower($overskrift),0,1,"utf8");	
$rest = mb_substr($overskrift,1,strlen($overskrift),"utf8");


			//---æ ø å---
			if($kapital == "Æ" or $kapital == "æ"){ 
				$kapital = "a";
				//$b['overskrift'] = "e".$b['overskrift'];
			}elseif($kapital == "Ø" or $kapital == "ø"){ 
				$kapital = "o";
				//$b['overskrift'] = "e".$b['overskrift'];
			}elseif($kapital == "Å" or $kapital == "å"){ 
				$kapital = "a";
				//$b['overskrift'] = "a".$b['overskrift'];
			}
			//xxx: vi mangler "ink"-kapitalerne
/*$manchet_type = 'ink';
$content_headline = "Forældrer";
$content = array($element_data['foraeldrer'],$element_data['boern']);*/
echo "<div class='nav-punkt editable row-fluid' style='overflow:auto;' >";
//print_r($stamdata);
echo "<div class='span12'>";
	//echo "<div class='tekstSimpelHTML ".$manchet_type." manchet' style='overflow:auto;'>";
	if(isset($rediger_url) and in_array($id,$redEle)) {
		echo "<span class='rediger_holder' style='float:right;display:none;'>".anchor("almanak/side/".$id."/".$rediger_url," ","class='rediger'")."</span>";
	}
	echo "<p id='ini-".$kapital."' class='ini ini-".$manchet_type."' ></p>";
	echo "<".$overskrift_type." class='".$manchet_type."'>".$rest."</".$overskrift_type.">";
	echo "<p class='rubrik' style='line-height:118%'>".$manchet_tekst."</p>";
	//echo anchor("/almanak/side/".$stamdata['id']."/rediger_familie"," ","class='rediger'");
	echo "</div>";			
	echo "<div class='drop' >";	
		echo "<div class='row-fluid'>";	
			echo "<div class='span6' >";
				if(!empty($content_left)) {
					foreach($content_left as $cl) {
						$this->load->view($cl);
						
					}
					echo br();
				}
				
			echo "</div>";
			echo "<div class='span6'>";
				$this->load->view('element/element_rettighed_data');
			echo "</div>";
		echo "</div>";
	echo "</div>";

echo "</div>";

    unset($overskrift_type);
?>






